Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/materialise improvement #1773

Merged
merged 21 commits into from
Sep 18, 2024
Merged

Conversation

ljeub-pometry
Copy link
Collaborator

@ljeub-pometry ljeub-pometry commented Sep 11, 2024

What changes were proposed in this pull request?

  • Make materialise run in parallel
  • Use write-locked shards in protobuf decoding

Why are the changes needed?

Speed improvements

Does this PR introduce any user-facing change? If yes is this documented?

User-facing apis mostly unchanged but Edges.iter() now returns references to avoid slow Arc clones

How was this patch tested?

the tests

Issues

closes #1757

Are there any further changes required?

Cleanup of the internal apis

@ljeub-pometry ljeub-pometry force-pushed the feature/MaterialiseImprovement branch from 6f6ad10 to 25de963 Compare September 11, 2024 14:49
@fabianmurariu
Copy link
Collaborator

And with this PR we now have

  1. regular graph building
  2. building a graph from materialize
  3. building a graph from proto

I am not a happy puppy

Copy link
Collaborator

@fabianmurariu fabianmurariu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ljeub-pometry ljeub-pometry merged commit 142f3aa into master Sep 18, 2024
19 checks passed
@ljeub-pometry ljeub-pometry deleted the feature/MaterialiseImprovement branch September 18, 2024 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Optimise Materialise and load_from_file with new WriteGraph
2 participants